package com.micro.api.service;

import com.micro.base.ResponseBase;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @title: IOrderService
 * @Author: yzp
 * @Date: 2019/9/28 11:05
 * @Version 1.0
 */
public interface IOrderService {

    /**
     * 订单服务调用用户服务接口信息feign
     *
     * @param name
     * @return
     */
    @RequestMapping("/orderToUser")
    String orderToUser(String name);

    /**
     * 获取用户信息
     * @return
     */
    @RequestMapping("/orderToUserInfo")
    ResponseBase orderToUserInfo();

    // 订单服务接口
    @RequestMapping("/orderInfo")
     ResponseBase orderInfo();
}
